/* pages/goods/detail/index.wxss */

.container {
  padding: 0rpx !important;
}

.goods-detail {
  margin-bottom: 100px;
  text-align: center;
}

// 商品大图
.banner-img {
  padding: 5rpx 10rpx;
  border-radius: 20rpx;
  image {
    height: 100%;
  }
}

// 商品的基本信息
.content {
  text-align: center;
  background: #fff;
  padding: 40rpx;
  position: relative;
  border-radius: 18rpx;
  top: -40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;

  .price {
    display: flex;

    .price-num {
      font-size: 18px;
      color: #fa4126;
      font-weight: bold;
    }

    .price-origin-num {
      font-size: 12px;
      color: #b4babf;
      margin-left: 4px;
      text-decoration: line-through;
      margin-top: 6px;
    }
  }

  .title {
    text-align: left;
    padding: 10rpx 5rpx;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .desc {
    padding: 20rpx 5rpx;
    font-size: 12px;
    color: #999999;
    overflow: hidden;
    text-align: left;
    
    }
}

// 详细图片
.detail {
  margin: -130rpx 16rpx 100rpx;
  background: white;
  padding: 20rpx 16rpx;
  border-radius: 16rpx;
}

